package com.zyh.phoenix.mapper;

import com.zyh.phoenix.entity.Person;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PersonMapper {
    void insertPerson(Person person);

    void deletePersonById(Integer id);

    void updatePerson(Person person);

    Person getPerson(Integer id);

    List<Person> listPersons();
}